package com.mie.repository;

import com.mie.entity.FileData;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author Mie
 * @Description
 * @Date 2021/11/11 13:38
 **/
@Repository
public interface FileRepository {

    //将文件信息插入到数据库
    int saveFileData(FileData fileData);

    //根据UUID查询文件信息
    FileData selectFileDataByNewName(@Param("newName") String newName);

}
